Python How-To by Yong Cui
Author:Yong Cui [Yong Cui]
Language: eng
Format: epub, pdf
Publisher: Manning Publications Co.
Published: 2023-06-09T22:00:00+00:00
8.5.6 Challenge
In section 8.1, we studied how to implement the __init__ method in a custom class. If the subclass has the same implementation as the superclass, you donât need to override __init__ at all. But if you need customized initialization, as in the case of Supervisor, you want to override __init__. How can you override __init__ in the Supervisor class?
Hint Overriding __init__ isnât different from overriding other methods. You use super() to create a proxy object to use the constructor of the superclass.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Access | Data Mining |
Data Modeling & Design | Data Processing |
Data Warehousing | MySQL |
Oracle | Other Databases |
Relational Databases | SQL |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7894)
Learning SQL by Alan Beaulieu(5465)
Weapons of Math Destruction by Cathy O'Neil(5094)
Big Data Analysis with Python by Ivan Marin(3266)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(2965)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(2949)
Blockchain Basics by Daniel Drescher(2928)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(2858)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(2644)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2601)
Pandas Cookbook by Theodore Petrou(2526)
Mastering Python for Finance by Unknown(2525)
Driving Data Quality with Data Contracts by Andrew Jones(2522)
Data Engineering with dbt by Roberto Zagni(2344)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(2311)
How The Mind Works by Steven Pinker(2253)
Network Science with Python and NetworkX Quick Start Guide by Edward L. Platt(2083)
Building Machine Learning Systems with Python by Richert Willi Coelho Luis Pedro(2073)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2053)